package com.imesne.office.excel.write;

import com.imesne.office.excel.model.ExcelSheet;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * Created by liyd on 17/7/4.
 */
public interface ExcelSheetWriter {

    /**
     * 创建excel Sheet
     *
     * @param workbook   the workbook
     * @param excelSheet the excel sheet
     * @param count      the count 第几次创建sheet调用
     * @return excel sheet
     */
    Sheet writeExcelSheet(Workbook workbook, ExcelSheet excelSheet, int count);
}
